import { request } from "@/utils";

export const loginApi = (loginForm) => {
  return request({
    url: "/authorizations",
    method: "POST",
    data:loginForm
  });
};


export const getUserInfoApi = () => {
  return request({
    url: "/user/profile",
    method: "GET",
    
  });
};
